﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BusinessLogic
{
    class ModelToDto
    {
        public static CustomerType FillCustomerType(Customer c)
        {
            CustomerType ct = new CustomerType
            {
                By = c.By,
                CustomerId = c.TelefonNr,
                Email = c.Email,
                Gade = c.Gade,
                Navn = c.Navn,
                Oprettet = c.Oprettet,
                PostNr = c.PostNr
            };

            return ct;
        }
    }
}
